package com.Teacher.service;

import com.Teacher.api.TeacherApi;
import com.Teacher.model.TeacherInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created with Intellij IDEA.
 * Description;
 * User:TQ02
 * Data:2024-07-22
 * Time:17:46
 * Text：
 */
@Service
public class OpenFeignService {
    @Autowired
    TeacherApi teacherApi;
    public TeacherInfo getId(String Classroom){
        TeacherInfo teacherInfo = teacherApi.getTeacherByClassroom(Classroom);
        return teacherInfo;
    }
}
